package com.ruoyi.project.er.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.er.service.IPaeaErTypePointRelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.er.mapper.PaeaErTypePointRelMapper;
import com.ruoyi.project.er.domain.PaeaErTypePointRel;
import com.ruoyi.common.utils.text.Convert;

import javax.annotation.Resource;

/**
 * 风险类型与风险点关系Service业务层处理
 *
 * @author XQ.XU
 * @date 2020-03-26
 */
@Service
public class PaeaErTypePointRelServiceImpl extends ServiceImpl<PaeaErTypePointRelMapper, PaeaErTypePointRel> implements IPaeaErTypePointRelService
{
    @Resource
    private PaeaErTypePointRelMapper paeaErTypePointRelMapper;
    /**
     * 删除风险类型与风险点关系信息
     *
     * @param errTypeId 风险类型与风险点关系ID
     * @return 结果
     */
    @Override
    public int deletePaeaErTypePointRelByErrTypeId(String errTypeId)
    {
        return paeaErTypePointRelMapper.deletePaeaErTypePointRelByErrTypeId(errTypeId);
    }
}
